$OpenBSD: patch-Makefile,v 1.1 2005/12/24 16:42:43 sturm Exp $
--- Makefile.orig	Sun Dec  4 12:12:10 2005
+++ Makefile	Sun Dec  4 12:12:10 2005
@@ -1,17 +1,15 @@
-BINDIR = /usr/etc
+BINDIR = ${PREFIX}/libexec
 LIBDIR = 
-CFLAGS = -g
-LFLAGS = -g
 CCM = cc -Em
 
 OBJECTS = poppassd.o
 LIBS =
 
 poppassd: $(OBJECTS)
-	cc -o poppassd $(LFLAGS) $(OBJECTS) $(LIBS)
+	cc -o poppassd $(LDFLAGS) $(OBJECTS) $(LIBS)
 
 install: poppassd
-	install -g bin -o root -m 500 poppassd $(BINDIR)
+	install -g bin -o root -m 544 poppassd $(BINDIR)
 
 clean:
 	rm -f *.o *~* core Makefile.new Makefile.bak poppassd
